package com.yyx.springcloud.controller;

import com.yyx.springcloud.service.IMessageProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * ClassName: SendMessageController
 * Package: com.yyx.springcloud.controller
 * Description:
 *
 * @Author: yyx
 * @Create: 2025/7/28 - 15:35
 */
@RestController
public class SendMessageController
{
    @Autowired
    private IMessageProvider messageProvider;

    @GetMapping("/sendMessage")
    public String sendMessage()
    {
        return messageProvider.send();
    }

}